package com.ruoyi.medical.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;
import java.math.BigDecimal;

/**
 * 报价信息对象 meioms_quotation
 * 
 * @author ruoyi
 * @date 2025-12-03
 */
@TableName("meioms_quotation")
public class MeiomsQuotation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 报价ID */
    @TableId
    private Long quotationId;

    /** 工单ID */
    @Excel(name = "工单ID")
    private Long workOrderId;

    /** 报价金额 */
    @Excel(name = "报价金额", width = 30, scale = 2)
    private BigDecimal quotationAmount;

    /** 报价状态（0待确认 1已确认 2已拒绝） */
    @Excel(name = "报价状态", readConverterExp = "0=待确认,1=已确认,2=已拒绝")
    private String quotationStatus;

    /** 确认时间 */
    @Excel(name = "确认时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date confirmTime;

    public void setQuotationId(Long quotationId)
    {
        this.quotationId = quotationId;
    }

    public Long getQuotationId()
    {
        return quotationId;
    }
    public void setWorkOrderId(Long workOrderId)
    {
        this.workOrderId = workOrderId;
    }

    public Long getWorkOrderId()
    {
        return workOrderId;
    }
    public void setQuotationAmount(BigDecimal quotationAmount)
    {
        this.quotationAmount = quotationAmount;
    }

    public BigDecimal getQuotationAmount()
    {
        return quotationAmount;
    }
    public void setQuotationStatus(String quotationStatus)
    {
        this.quotationStatus = quotationStatus;
    }

    public String getQuotationStatus()
    {
        return quotationStatus;
    }
    public void setConfirmTime(Date confirmTime)
    {
        this.confirmTime = confirmTime;
    }

    public Date getConfirmTime()
    {
        return confirmTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("quotationId", getQuotationId())
            .append("workOrderId", getWorkOrderId())
            .append("quotationAmount", getQuotationAmount())
            .append("quotationStatus", getQuotationStatus())
            .append("confirmTime", getConfirmTime())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
